package sanrenxing.dayEnd.backRepertoryTotal.service;


import sanrenxing.dayEnd.backRepertoryTotal.domain.ExchangeVarietyRate;
import sanrenxing.dayEnd.backRepertoryTotal.domain.Financialsecurities;
import sanrenxing.dayEnd.backRepertoryTotal.domain.Stocksector;

import java.util.List;

/**
 * 功能：证券业务层接口类
 * 编写者：蒋玲苹
 * 日期：2021-03-18
 * 版本：1.0
 */
public interface FinancialsecuritiesBiz {
    public List<ExchangeVarietyRate> ex();
    public List<Stocksector> sr();

    /**
     * 添加数据
     * @param financialsecurities
     * @return 0:添加失败,1:添加成功
     */
    public int add(Financialsecurities financialsecurities);

    /**
     * 删除数据
     * @param seId
     * @return 删除影响的行数(0:删除失败,1:删除成功)
     */
    public int delete(String seId);

    /**
     * 修改数据
     * @param financialsecurities
     * @return 0:修改失败,1:修改成功
     */
    public int update(Financialsecurities financialsecurities);

    /**
     * 分页查询所有数据
     * @param
     * @return
     */
    public List<Financialsecurities> queryAll(Financialsecurities financialsecurities, int row, int page);

    /**
     * 统计记录数
     * @return
     */
    public int count(Financialsecurities financialsecurities);
}
